﻿using System.Collections.Generic;
using TestBat.IModels.Domain;
using System;

namespace TestBat.IModels.Models
{
    public interface ITestTaskModel : IModel
    {
        IList<ITestTask> GetByReferences(ISchedule schedule, ITrainee trainee, bool nonGradedOnly);

        void Grade(ITestTask testTask, int percent);

        void SaveAll();

        ITestTask GetByID(Guid ID);

        IList<ITestTask> Get(ITest test);
    }
}
